package com.drcoffee.drcoffeemall.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

@Controller
public class RootPathController {
    @RequestMapping("/")
    public String handleRootPath() {
        // 返回一个视图或重定向到其他路径
        return "redirect:http://mall.dr-coffee.com/";
//        return "redirect:http://dmall.dr-coffee.com/";
    }
}
